﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TianShiProject.Models.Common;
using TianShiProject.Models.Materials.Citys;
using Volo.Abp.Application.Services;

namespace TianShiProject.Materials.Citys
{
    public class CountryService : ApplicationService
    {
        private readonly ICountryRepository _countryRepository;
        public CountryService(ICountryRepository countryRepository)
        {
            _countryRepository = countryRepository;
        }


        public async Task<PageResponse<CountryDto>> GetCountryShow(int id)
        {
            return await _countryRepository.GetCountryShow(id);
        }
    }
}
